﻿#pragma once

# if defined(TXR_ALGO_DLM_SEGMENT_V2_O_LIB)
#  define TXR_ALGO_DLM_SEGMENT_V2_O_EXPORT Q_DECL_EXPORT
# else
#  define TXR_ALGO_DLM_SEGMENT_V2_O_EXPORT Q_DECL_IMPORT
# endif

#include "infer_seg_v2_o.h"
#include "../txr_algo_dlm_seg/txr_algo_dlm_seg_impl.h"

namespace txr_algo_dlm_seg
{
	class InferSegV2_o;

	class TxrAlgoDlmSegV2_o : public TxrAlgoDlmSegImpl
	{
	public:
		TxrAlgoDlmSegV2_o();
		~TxrAlgoDlmSegV2_o();

		tk_bool Load(st_dlm_cfg& cfg);
		void Release();

		void Detect(st_detect_unit* p_unit, tk_int32 size);
	private:
		InferSegV2_o* m_p_infer;
	};
}//namespace txr_algo_dlm_seg
